package com.mgs.fwk.handlers
{
	import com.mgs.fwk.context.ApplicationContext;
	import com.mgs.product.tagger.actions.ApplicationAction;

	public interface ActionHandler
	{
		/**
		 * <u>ActionHandler</u> :<br/>
		 * Execute an action to a context.
		 * The context may be updated at the end of the action.
		 * @param context the current context.
		 * @param action the action to execute.
		 * @throws NotSupportedActionException if the action is not handled.
		 */
		function execute(context:ApplicationContext, action:ApplicationAction):void;
	}
}